package com.ktgj.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 职位菜单中间对象 position_menu
 * 
 * @author ruoyi
 * @date 2021-10-15
 */
public class PositionMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 职位ID */
    @Excel(name = "职位ID")
    private Long positionId;

    /** 菜单ID */
    @Excel(name = "菜单ID")
    private Long menuId;
    //权限值
    private Long permission;

    public Long getPermission()
    {
        return permission;
    }

    public void setPermission(Long permission)
    {
        this.permission = permission;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPositionId(Long positionId) 
    {
        this.positionId = positionId;
    }

    public Long getPositionId() 
    {
        return positionId;
    }
    public void setMenuId(Long menuId) 
    {
        this.menuId = menuId;
    }

    public Long getMenuId() 
    {
        return menuId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("positionId", getPositionId())
            .append("menuId", getMenuId())
            .toString();
    }
}
